package com.random.fox.whatspay.utils;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * Created by 渠 on 2014/11/25.
 */
public class SPUtils {
    public static final String SP_NAME = "config";
    private SPUtils(){}

    public static String getValue(Context context,String key){
        SharedPreferences sp = context.getSharedPreferences(SP_NAME,Context.MODE_PRIVATE);
        return sp.getString(key,"");
    }
}
